import request from "~/request";
import { loginDataRes, loginParams } from "~/types/login";
export const login = (data: loginParams) => {
  return request<any,loginDataRes>({
    url: "/login",
    method: "POST",
    data,
  });
};
